package com.cmii.sjw.department.control.jsc.mapper;

import com.cmii.sjw.department.control.jsc.config.mp.BaseMapperX;
import com.cmii.sjw.department.control.jsc.model.DistrictKpi;
import com.cmii.sjw.department.control.jsc.vo.DistrictKpiVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author lizheng
 * @Date 2025-03-10 周二 10:40
 * @Version 1.0
 */
@Mapper
public interface DistrictKpiMapper extends BaseMapperX<DistrictKpi> {
    DistrictKpi selectByDistrictAndYear(@Param("districtName") String districtName);

    int updateByPrimaryKey(DistrictKpi record);

    List<DistrictKpiVO> countIndex();
}
